/**
 * jims
 */
package com.jims.master.modules.nurse.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 新生儿apgar评分记录Entity
 * @author 杨富达
 * @version 2017-07-17
 */
public class NewbornRecApgar extends DataEntity<NewbornRecApgar> {

	private static final long serialVersionUID = 1L;
    private NewbornRec newbornRec;//新生儿对象
    private int num;//序号
    private String signItem;//体征项目
    private String content;//内容
    private double fraction;//分数

    public NewbornRec getNewbornRec() {
        return newbornRec;
    }

    public void setNewbornRec(NewbornRec newbornRec) {
        this.newbornRec = newbornRec;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
    @Length(min=0, max=500, message="体征项目长度必须介于 0 和 500 之间")
    public String getSignItem() {
        return signItem;
    }

    public void setSignItem(String signItem) {
        this.signItem = signItem;
    }
    @Length(min=0, max=2000, message="内容长度必须介于 0 和 2000 之间")
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    @Length(min=0, max=20, message="分数长度必须介于 0 和 20 之间")
    public double getFraction() {
        return fraction;
    }

    public void setFraction(double fraction) {
        this.fraction = fraction;
    }

}